<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>农产品添加</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
</head>
<body class="childrenBody" style="padding: 0;">
<form class="layui-form" style="width:80%;">


    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">类别名称</label>
        <div class="layui-input-inline">
            <input type="hidden" name="categoryId" id="categoryId">
            <input name="categoryName" type="text" id="categoryName"  lay-filter="categoryName" class="layui-input" value="">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">仪器编号</label>
        <div class="layui-input-inline">
            <input type="text" id="facilityId" name="facilityId" class="layui-input" lay-verify="required">
        </div>
    </div>
    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">仪器名称</label>
            <div class="layui-input-inline">
                <%--<input type="hidden" id="facilityId" name="facilityId">--%>
                <input type="text" name="facilityName" id="facilityName" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">存放位置</label>
        <div class="layui-input-inline">
            <input type="hidden" id="storageId" name="storageId">
            <input name="storageName" type="text" id="storageName"  lay-filter="storageName" class="layui-input" value="">
        </div>
    </div>
    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">生产厂家</label>
            <div class="layui-input-inline">
                <input type="text" name="manufacturer" id="manufacturer"  placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>

    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">出厂编号</label>
            <div class="layui-input-inline">
                <input type="text" name="manufactureNo" id="manufactureNo" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>

    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">品牌型号</label>
            <div class="layui-input-inline">
                <input type="text" name="facilityNo" id="facilityNo" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">购买时间</label>
            <div class="layui-input-inline">
                <input type="text" name="buyDate" id="buyDate" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>

    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">固定资产登记号</label>
            <div class="layui-input-inline">
                <input type="text" name="fixedAssetsNo" id="fixedAssetsNo" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">材料放置点</label>
        <div class="layui-input-inline">
            <input type="hidden" id="materialStorageId" name="materialStorageId">
            <input name="materialStorage" type="text" id="materialStorage"  lay-filter="materialStorage" class="layui-input" value="">
        </div>
    </div>
    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">供货公司</label>
            <div class="layui-input-inline">
                <input type="text" name="supplierCompany" id="supplierCompany" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>
    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">供货商</label>
            <div class="layui-input-inline">
                <input type="text" name="supplier" id="supplier" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>

    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">供货商电话</label>
            <div class="layui-input-inline">
                <input type="text" name="supplierMobile" id="supplierMobile" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>

    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">售后电话</label>
            <div class="layui-input-inline">
                <input type="text" name="afterSaleMobile" id="afterSaleMobile" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>

    <%--<div class="layui-form-item">--%>
        <%--<div class="layui-col-lg6">--%>
            <%--<label class="layui-form-label">保修年限</label>--%>
            <%--<div class="layui-input-inline">--%>
                <%--<input type="text" name="warrantyPeriod" id="warrantyPeriod" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">--%>
            <%--</div>--%>
        <%--</div>--%>
    <%--</div>--%>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">保修年限</label>
        <div class="layui-input-inline">
            <input name="warrantyPeriod" type="text" id="warrantyPeriod"  lay-filter="warrantyPeriod" class="layui-input" value="">
        </div>
    </div>

    <div class="layui-row layui-col-space10 layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">是否可用：</label>
            <div class="layui-input-block">
                <input checked="" name="status" id="status" value="0" lay-skin="switch" lay-filter="switchTest" type="checkbox" lay-text="是|否">
            </div>
        <%--</div>--%>
    </div>
    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">购买人</label>
            <div class="layui-input-inline">
                <input type="text" name="buyer" id="buyer" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>
    <div class="layui-form-item">
        <%--<div class="layui-col-lg6">--%>
            <label class="layui-form-label">监管人</label>
            <div class="layui-input-inline">
                <input type="text" name="supervisor" id="supervisor" lay-verify="" placeholder="" autocomplete="off" class="layui-input" value="">
            </div>
        <%--</div>--%>
    </div>



	<div class="layui-form-item layui-row layui-col-xs12">
			<div class="layui-input-block">
				<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addFacility">立即添加</button>
				<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
			</div>
    </div>





</form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script src="/layui/mymodule/common.js"></script>
<script type="text/javascript" src="/js/facility/facilityAdd.js"></script>
</body>
</html>